package com.zbkj.crmeb.merchant.admin.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.crmeb.core.common.CommonResult;
import com.zbkj.crmeb.store.service.StoreSeasonService;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

/**
 * 季节管理
 * @Description: 
 * @author daigb
 * @date 2021-04-13
 */
@RestController
@RequestMapping("api/admin/mer/store/season")
@Api(tags = "季节管理")
public class MerStoreSeasonController {
    @Autowired
    StoreSeasonService storeSeasonService;

    /**
     * 列表
     * @Description:  
     * @author daigb 
     * @param @return
     * @return CommonResult<Object>
     * @throws
     */
    @ApiOperation(value = "列表")
    @GetMapping("/list")
    public CommonResult<Object> listEntity() {
        return CommonResult.success(storeSeasonService.selectEntityList());
    }
    
}
